package timetracker.client;

import java.util.List;

import timetracker.client.database.Contragent;
import timetracker.client.database.Task;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

@RemoteServiceRelativePath("contragents")
public interface ContragentService extends RemoteService {

	Contragent contragentSave(Contragent contragent);
	Contragent getContragentByKey(Long key);
	List<Contragent> getAllContragents();
	Task taskSave(Task task);
	//Task taskSave(Task task);

}
